package com.vhall.component.dao.account;

import com.vhall.component.entity.account.NicknamesEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author vhall
* @description 针对表【nicknames(昵称表)】的数据库操作Mapper
* @createDate 2023-05-16 13:27:24
* @Entity com.vhall.component.entity.account.Nicknames
*/
@Mapper
@Repository
public interface NicknamesMapper extends BaseMapper<NicknamesEntity> {

    /**
     * 随机获取5个名字
     * @return
     */
    List<NicknamesEntity> selectListRandom();

}




